home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / src / ExternalClientP.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-29  |  2.1 KB  |  66 lines

  1. /* External client widget internal header file.
  2.    Copyright (C) 1993, 1994 Sun Microsystems, Inc.
  3.  
  4. This library is free software; you can redistribute it and/or
  5. modify it under the terms of the GNU Library General Public
  6. License as published by the Free Software Foundation; either
  7. version 2 of the License, or (at your option) any later version.
  8.  
  9. This library is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  12. Library General Public License for more details.
  13.  
  14. You should have received a copy of the GNU Library General Public
  15. License along with this library; if not, write to the Free
  16. Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
  17.  
  18. /* Synched up with: Not in FSF. */
  19.  
  20. /* Written by Ben Wing. */
  21.  
  22. #ifndef _ExternalClientP_h
  23. #define _ExternalClientP_h
  24.  
  25. #include "ExternalClient.h"
  26. #ifdef EXTW_USES_MOTIF
  27. #include <Xm/PrimitiveP.h>
  28. #endif
  29.  
  30. typedef struct {        /* new fields for ExternalClient class */
  31.    int dummy;
  32. } ExternalClientClassPart;
  33.  
  34. typedef struct _ExternalClientClassRec {    /* full class record declaration */
  35.     CoreClassPart core_class;
  36. #ifdef EXTW_USES_MOTIF
  37.     XmPrimitiveClassPart primitive_class;
  38. #endif
  39.     ExternalClientClassPart externalClient_class;
  40. } ExternalClientClassRec;
  41.  
  42. typedef struct {        /* new fields for ExternalClient widget */
  43.     Bool dead_shell;        /* is the shell dead? */
  44.     unsigned long shell_timeout;/* how long to wait for shell's response */
  45.     int shell_ready;        /* is the shell ready? */
  46.     Window event_window;
  47.     long event_mask;
  48.     Bool has_focus;
  49.     char *emacs_procid;         
  50.     XtCallbackList shell_ready_callback;
  51.     String shell_name;
  52.     Bool use_tooltalk;
  53. } ExternalClientPart;
  54.  
  55. typedef struct _ExternalClientRec {    /* full instance record */
  56.     CorePart core;
  57. #ifdef EXTW_USES_MOTIF
  58.     XmPrimitivePart primitive;
  59. #endif
  60.     ExternalClientPart externalClient;
  61. } ExternalClientRec;
  62.  
  63. extern ExternalClientClassRec externalClientClassRec;     /* class pointer */
  64.  
  65. #endif /* _ExternalClientP_h */
  66.